<template>
  <div class="collection-index">
    <h1>藏品广场</h1>
    <div class="collection-content">
      <!-- 藏品列表内容将在这里实现 -->
      <div class="placeholder">藏品广场页面开发中...</div>
    </div>
  </div>
</template>

<script setup>
// 藏品广场逻辑将在这里实现
</script>

<style scoped>
.collection-index {
  width: 100%;
  padding: 20px;
}

.collection-index h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1e40af;
  position: relative;
  padding-bottom: 10px;
}

.collection-index h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  border-radius: 3px;
}

.collection-content {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(224, 242, 254, 0.5);
  position: relative;
  overflow: hidden;
}

.collection-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(59,130,246,0.05)" stroke-width="1"/></svg>');
  background-size: 20px 20px;
  opacity: 0.5;
  z-index: 0;
}

.placeholder {
  text-align: center;
  padding: 40px;
  color: #64748b;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .collection-index {
    padding: 15px;
  }
  
  .collection-index h1 {
    font-size: 1.8rem;
  }
  
  .collection-content {
    padding: 20px;
  }
  
  .placeholder {
    padding: 30px 15px;
  }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
  .collection-index {
    padding: 10px;
  }
  
  .collection-index h1 {
    font-size: 1.5rem;
  }
  
  .collection-content {
    padding: 15px;
  }
  
  .placeholder {
    padding: 25px 10px;
    font-size: 0.9rem;
  }
}
</style>